package cn.tedu.baidashi.common;

public enum ResponseCode {
    RESPONSE_CODE_ERROR(0,"fail"),
    RESPONSE_CODE_SUCCESS(1,"ok");


    private int code;
    private String message;

    ResponseCode(int code,String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
